package com.ml.mall.mapper.banner;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ml.mall.entity.banner.SysBanner;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface SysBannerMapper extends BaseMapper<SysBanner> {
    //实现点击量查询
    int selectClickNum(long id);
    //实现点击量加一操作
    int updateClickNum(int clickNum,long id);
}
